@import '../../../src/res/theme/xxhz.scss';

.scenic-root {
  width: 100%;
  overflow-x: hidden;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  min-height: 100vh;
  flex-direction: column;

  .banner-bg {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(34px);
    height: 520px;
  }

  .reduce-margin-bottom {
    margin-bottom: -20Px;
  }

  /* #ifdef tt weapp */
  .banner-wrapper {
    margin-top: 200px !important;
  }
  /* #endif */

  /* #ifdef tt */
  .banner-wrapper {
    background-color: inherit !important;
  }
  /* #endif */

  .swiper-slide:not(.swiper-slide-active){
    .banner-image-wrapper {
      transform: scale(0.85);
    }
  }

  .banner-inactive {
    .banner-image-wrapper {
      transform: scale(0.85);
    }
  }

  .banner-wrapper {
    margin-top: 170px;
    height: 800px;
    background-color: #fff;
    padding-bottom: 10Px !important;

    .banner-image-wrapper {
      position: relative;

      .banner-scenic-wrapper {
        position: absolute;
        background-color: rgba(0, 0, 0, 0.4);
        left: 0;
        bottom: 90px;
        width: 100%;

        .banner-scenic-info {
          padding: 26px 50px 20px;
          color: #fff;

          .info-level {
            margin-top: 14px;
            display: flex;
            align-items: center;
            font-size: 20px;
            padding-bottom: 6px;

            .level-num {
              margin-right: 10px;
              border-radius: 20px;
              background-color: #fed30a;
              padding: 4px 10px;
              color: #000;
            }

            .label-wrapper{
              margin-top: -2px;
              display: flex;
              flex-wrap: wrap;
            }

            .level-label {
              margin-top: 2Px;
              border: 1Px solid #fff;
              padding: 4px 16px;
              border-radius: 8px;
            }

            .level-label:first-child{
              margin-right: 10px;
            }
          }

          .info-name {
            font-size: 30px;
          }
        }

        .info-distance, .info-address {
          margin-top: 6px;
          font-size: 25px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          color: #fff;
        }
      }
    }

    .banner-img, .banner-img img {
      width: 100%;
      max-width: 100%;
      height: 800px;
      border-radius: 22px;
    }
  }

  .head {
    width: 100%;
    position: fixed;
    z-index: 9999;

    .search-bar {
      left: 50%;
      transform: translateX(-50%);
      position: absolute;
      width: 100%;
    }
  }

  .header-bar {
    position: fixed;
    z-index: 109;
    width: 100%;
  }

  .head-back-img {
    width: 100%;

    .img {
      width: 100%;
      height: 100%;
    }
  }

  .head-bg {
    width: 100%;
    height: 160px;
    background-color: #f5f5f5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    opacity: 1;
    transition: all 0.4s ease 0s;
  }

  .zoom {
    position: relative;
    z-index: 2;
  }

  .advert-img {
    border-radius: 10px;
  }

  .categorys {
    padding: 20px;
    background: #fff;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
  }

  .recommend {
    background-color: #f8f8f8;
  }

  .ad-module {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: white;

    .img {
      width: 100%;
      height: 150px;
      border-radius: 10px;
    }
  }

  .scenic-bottom-nav-index{
    background-color: initial !important;
    padding: 30px !important;

    .nav-item{
      border-radius: 42px;
      padding: 10px 48px !important;
      color: #333;
    }

    .nav-item.active{
      background-color: $mainColor !important;
      color: #fff !important;
    }
  }

  .bottom-nav {
    display: flex;
    box-sizing: border-box;
    padding: 20px;
    background-color: white;
    position: sticky;
    z-index: 99;
    align-items: center;

    .main {
      width: 140px;
      flex-shrink: 0;
      font-size: 32px;
      color: #454545;
      font-weight: bold;
    }

    .subNav-scenic {
      flex-grow: 1;

      .nav-box {
        align-items: center;
        display: flex;
        width: 100%;
        font-size: 24px;
        color: #3b3b3b;

        .nav-item {
          padding: 8px 20px 0;
          flex-shrink: 0;
        }

        .active {
          color: $mainColor;
        }
      }
    }
  }

  .bottom-goods {
    background-color: white;
  }
}

.listNull {
  width: 100%;
  height: 75vw;
  text-align: center;
  overflow: hidden;

  image, .taro-img {
    width: 295px;
    height: 295px;
    margin: 86px auto 35px;
  }

  .text, .taro-text {
    font-size: 24px;
    color: #666
  }
}
